package cn.com.cifi.mars.constant;

/**
 * oa审批状态
 * @author Administrator
 *
 */
public enum ApprovedStateCodeEnum {

	/**
	 * 实例被删除
	 */
    DELETE("delete",0),
    /**
     * 未发起
     */
    NOT_LAUNCHED("not_launched",1),
    
    /**
     * 草稿
     */
    DRAFT("draft",2),
    
    /**
     * 审批中
     */
    APPROVAL("approval",3),
    
    /**
     * 审批通过
     */
    APPROVAL_SUCCESS("approval_success",4),
    
    /**
     * 驳回发起
     */
    REJECT("reject",5),
    
    /**
     * 撤回发起
     */
    RECALL("recall",6),
    
    /**
     * 废弃流程
     */
    ENDFLOW("endflow",7),
    
    /**
     * 开始专业审核
     */
    PROFESSIONAL_AUDIT("professional_audit",8),
    
    /**
     * 专业审核撤回
     */
    PROFESSIONAL_AUDIT_RECALL("professional_audit_recall",9);
	
    private String key;
    private int value;

    ApprovedStateCodeEnum(String key,int value) {
        this.key = key;
        this.value = value;
    }

    public String getKey() {
        return key;
    }

    public int getValue() {
        return value;
    }

}
